Managing a table of a database

ABSTRACT

A method for managing a database is disclosed. Managing the database includes managing a table of the database, the table having a set of fields including a first field in a first row of the table. Managing the table includes selecting, in the first field, a first input value configured to identify a first dynamic data function utilized to determine a first output value for the first field. Managing the table includes determining the first output value for the first field using the first dynamic data function. Managing the table includes returning (for a read request) the first output value for the first field.

TECHNICAL FIELD

This disclosure relates generally to database management systems and,more particularly, relates to dynamic data configured to be updated by adynamic data function.

BACKGROUND

Databases are used to store information for numerous types ofapplications. Examples include various industrial, commercial,technical, scientific, and educational applications. Database managementsystems (DBMSs) are a typical mechanism for accessing data stored in adatabase. DBMSs are typically configured to separate the process ofstoring data from accessing, manipulating, or using data stored in adatabase. DBMSs often require tremendous resources to handle the heavyworkloads placed on such systems. As such, it may be useful to increasethe performance of database management systems with respect to dynamicdata.

SUMMARY

Aspects of the disclosure include a method, a system, and a computerprogram product for managing a database. Managing the database mayinclude managing a table of the database. The table may have a set offields. The set of fields can include a first field in a first row ofthe table.

Managing the table includes selecting, in the first field, a first inputvalue. The first input value can be configured to identify a firstdynamic data function. The first dynamic data function may be utilizedto determine a first output value for the first field. Managing thetable includes determining the first output value for the first field.The first output value for the first field may be determined using thefirst dynamic data function. The first output value for the first fieldmay be determined in response to a read request including the firstfield. Managing the table includes returning (for the read request) thefirst output value for the first field. The first output value for thefirst field may be returned in response to determining the first outputvalue for the first field.

Managing the database may include managing an index of the table of thedatabase. Managing the index includes determining the table includes afirst field. The first field may have a first input value. The firstinput value can be configured to identify a first dynamic data function.The first dynamic data function can be utilized to determine a firstoutput value for the first field.

Managing the index may include determining the first dynamic datafunction is deterministic. The first dynamic data function may bedetermined to be deterministic in response to a request to create theindex including the first field. Managing the index may includedetermining the first output value for the first field. The first outputvalue for the first field may be determined using the first dynamic datafunction. The first output value for the first field may be determinedin response to the first dynamic data function being deterministic.Managing the index may include storing (in the index) the first outputvalue for the first field. The first output value for the first fieldmay be stored in response to determining the first output value for thefirst field.

Managing the index may include determining the first dynamic datafunction is nondeterministic. The first dynamic data function may bedetermined to be nondeterministic in response to a request to create theindex including the first field. Managing the index may includedetermining a first special value. The first special value can representthe first output value for the first field. The first special value maybe determined in response to the first dynamic data function beingnondeterministic. Managing the index may include storing (in the index)the first special value for the first field. The first special value forthe first field may be stored in response to determining the firstspecial value for the first field.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A depicts a cloud computing node according to embodiments;

FIG. 1B depicts a cloud computing environment according to embodiments;

FIG. 1C depicts abstraction model layers according to embodiments;

FIG. 2A illustrates an example representation of a computer systemconnected to a client computer via a network according to an embodiment;

FIG. 2B illustrates an example database management system (DBMS)according to an embodiment;

FIG. 3 is a flowchart illustrating a method of managing a databaseaccording to embodiments;

FIG. 4 is a flowchart illustrating a method of managing a databaseaccording to embodiments; and

FIG. 5 is a flowchart illustrating a method of managing a databaseaccording to embodiments.

DETAILED DESCRIPTION

Aspects of the disclosure define a field (of a column) in a row of atable of a database such that the field is a dynamic data value (not afixed value). The dynamic data value can be a current value of a dynamicdata function (DDF) when data is read. To illustrate, a DDF can be aspecial register, a function, a procedure, a structured query language(SQL) statement, a program call, or some SQL data manipulationoperation. Aspects of the disclosure define the DDF for the field. TheDDF in the field could be invoked to retrieve dynamic data (e.g.,dynamic data related to a user instead of fixed data stored with therow—for instance, this may have a positive impact in situations where atleast one feature of the user changes). As an example, aspects couldhave positive impacts when applications are rolled out to many virtualservers (e.g., thousands) in a cloud environment.

Aspects of the disclosure include invoking the DDF when a dynamic datavalue is in the particular field being read (e.g., a value tagged with aspecial character is in the particular field). According to embodimentsof the disclosure, when such a row is read, the DDF is invoked toretrieve the real value for the field of the column when a specialtagged dynamic data value is in the field. As such, a tagged dynamicdata operation can be defined for any or all rows of any or all columnsof a file, which can give flexibility for the data returned. Suchaspects may be unlike a trigger or column mask (e.g., may not need toinvoke a function or procedure for every column of every row every timethe row is used—but instead invoke it when a special tagged dynamic datavalue is in that field thereby indicating the function or procedureneeds to get the real value for tagged dynamic data for the field).

Aspects of the disclosure include establishing indexes that use the DDFvalue. A database management system (DBMS) manager can determine if theDDF is deterministic or nondeterministic. If the DDF in the field isdeterministic, the DBMS manager could determine the value for the fieldand use that value in the index for the field. If the DDF in the fieldis nondeterministic, a special value could be placed in the index thatcould be used by the DBMS manager as the index is being checked totrigger the DBMS manager to retrieve the DDF value for the field fromthe DDF when checking the values in the index. Accordingly, a key of theindex for a DDF field may be defined. Thus, the index for the field cancontain traditional values (e.g., fixed values), the DDF values (e.g.,as computed when deterministic), and the special value (whennondeterministic).

Aspects of the disclosure include a method, a system, and a computerprogram product for managing a database. Managing the database mayinclude managing a table of the database. The table may have a set offields. The set of fields can include a first field in a first row ofthe table.

Managing the table includes selecting, in the first field, a first inputvalue. The first input value can be configured to identify a firstdynamic data function. The first dynamic data function may be utilizedto determine a first output value for the first field. Managing thetable includes determining the first output value for the first field.The first output value for the first field may be determined using thefirst dynamic data function. The first output value for the first fieldmay be determined in response to a read request including the firstfield. Managing the table includes returning (for the read request) thefirst output value for the first field. The first output value for thefirst field may be returned in response to determining the first outputvalue for the first field.

Managing the database may include managing an index of the table of thedatabase. Managing the index includes determining the table includes afirst field. The first field may have a first input value. The firstinput value can be configured to identify a first dynamic data function.The first dynamic data function can be utilized to determine a firstoutput value for the first field.

Managing the index may include determining the first dynamic datafunction is deterministic. The first dynamic data function may bedetermined to be deterministic in response to a request to create theindex including the first field. Managing the index may includedetermining the first output value for the first field. The first outputvalue for the first field may be determined using the first dynamic datafunction. The first output value for the first field may be determinedin response to the first dynamic data function being deterministic.Managing the index may include storing (in the index) the first outputvalue for the first field. The first output value for the first fieldmay be stored in response to determining the first output value for thefirst field.

Managing the index may include determining the first dynamic datafunction is nondeterministic. The first dynamic data function may bedetermined to be nondeterministic in response to a request to create theindex including the first field. Managing the index may includedetermining a first special value. The first special value can representthe first output value for the first field. The first special value maybe determined in response to the first dynamic data function beingnondeterministic. Managing the index may include storing (in the index)the first special value for the first field. The first special value forthe first field may be stored in response to determining the firstspecial value for the first field.

It is understood in advance that although this disclosure includes adetailed description regarding cloud computing, implementation of theteachings recited herein are not limited to a cloud computingenvironment. Rather, embodiments of the disclosure are capable of beingimplemented in conjunction with any other type of computing environmentnow known or later developed.

Cloud computing is a model of service delivery for enabling convenient,on-demand network access to a shared pool of configurable computingresources (e.g. networks, network bandwidth, servers, processing,memory, storage, applications, virtual machines, and services) that canbe rapidly provisioned and released with minimal management effort orinteraction with a provider of the service. This cloud model may includeat least five characteristics, at least three service models, and atleast four deployment models.

Characteristics are as follows:

On-demand self-service: a cloud consumer can unilaterally provisioncomputing capabilities, such as server time and network storage, asneeded automatically without requiring human interaction with theservice's provider.

Broad network access: capabilities are available over a network andaccessed through standard mechanisms that promote use by heterogeneousthin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to servemultiple consumers using a multi-tenant model, with different physicaland virtual resources dynamically assigned and reassigned according todemand. There is a sense of location independence in that the consumergenerally has no control or knowledge over the exact location of theprovided resources but may be able to specify location at a higher levelof abstraction (e.g., country, state, or data center).

Rapid elasticity: capabilities can be rapidly and elasticallyprovisioned, in some cases automatically, to quickly scale out andrapidly released to quickly scale in. To the consumer, the capabilitiesavailable for provisioning often appear to be unlimited and can bepurchased in any quantity at any time.

Measured service: cloud systems automatically control and optimizeresource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage,processing, bandwidth, and active user accounts). Resource usage can bemonitored, controlled, and reported providing transparency for both theprovider and consumer of the utilized service.

Service Models are as follows:

Software as a Service (SaaS): the capability provided to the consumer isto use the provider's applications running on a cloud infrastructure.The applications are accessible from various client devices through athin client interface such as a web browser (e.g., web-based email). Theconsumer does not manage or control the underlying cloud infrastructureincluding network, servers, operating systems, storage, or evenindividual application capabilities, with the possible exception oflimited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer isto deploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages and tools supported bythe provider. The consumer does not manage or control the underlyingcloud infrastructure including networks, servers, operating systems, orstorage, but has control over the deployed applications and possiblyapplication hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to theconsumer is to provision processing, storage, networks, and otherfundamental computing resources where the consumer is able to deploy andrun arbitrary software, which can include operating systems andapplications. The consumer does not manage or control the underlyingcloud infrastructure but has control over operating systems, storage,deployed applications, and possibly limited control of select networkingcomponents (e.g., host firewalls).

Deployment Models are as follows:

Private cloud: the cloud infrastructure is operated solely for anorganization. It may be managed by the organization or a third party andmay exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by severalorganizations and supports a specific community that has shared concerns(e.g., mission, security requirements, policy, and complianceconsiderations). It may be managed by the organizations or a third partyand may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the generalpublic or a large industry group and is owned by an organization sellingcloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or moreclouds (private, community, or public) that remain unique entities butare bound together by standardized or proprietary technology thatenables data and application portability (e.g., cloud bursting for loadbalancing between clouds).

A cloud computing environment is service oriented with a focus onstatelessness, low coupling, modularity, and semantic interoperability.At the heart of cloud computing is an infrastructure comprising anetwork of interconnected nodes.

Referring now to FIG. 1A, a schematic of an example of a cloud computingnode is shown. Cloud computing node 10 is only one example of a suitablecloud computing node and is not intended to suggest any limitation as tothe scope of use or functionality of embodiments of the disclosuredescribed herein. Regardless, cloud computing node 10 is capable ofbeing implemented and/or performing any of the functionality set forthhereinabove.

In cloud computing node 10 there is a computer system/server 12, whichis operational with numerous other general purpose or special purposecomputing system environments or configurations. Examples of well-knowncomputing systems, environments, and/or configurations that may besuitable for use with computer system/server 12 include, but are notlimited to, personal computer systems, server computer systems, thinclients, thick clients, handheld or laptop devices, multiprocessorsystems, microprocessor-based systems, set top boxes, programmableconsumer electronics, network PCs, minicomputer systems, mainframecomputer systems, and distributed cloud computing environments thatinclude any of the above systems or devices, and the like.

Computer system/server 12 may be described in the general context ofcomputer system executable instructions, such as program modules, beingexecuted by a computer system. Generally, program modules may includeroutines, programs, objects, components, logic, data structures, and soon that perform particular tasks or implement particular abstract datatypes. Computer system/server 12 may be practiced in distributed cloudcomputing environments where tasks are performed by remote processingdevices that are linked through a communications network. In adistributed cloud computing environment, program modules may be locatedin both local and remote computer system storage media including memorystorage devices.

As shown in FIG. 1A, computer system/server 12 in cloud computing node10 is shown in the form of a general-purpose computing device. Thecomponents of computer system/server 12 may include, but are not limitedto, one or more processors or processing units 16, a system memory 28,and a bus 18 that couples various system components including systemmemory 28 to processor 16.

Bus 18 represents one or more of any of several types of bus structures,including a memory bus or memory controller, a peripheral bus, anaccelerated graphics port, and a processor or local bus using any of avariety of bus architectures. By way of example, and not limitation,such architectures include Industry Standard Architecture (ISA) bus,Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, VideoElectronics Standards Association (VESA) local bus, and PeripheralComponent Interconnect (PCI) bus.

Computer system/server 12 typically includes a variety of computersystem readable media. Such media may be any available media that isaccessible by computer system/server 12, and it includes both volatileand non-volatile media, removable and non-removable media.

System memory 28 can include computer system readable media in the formof volatile memory, such as random access memory (RAM) 30 and/or cachememory 32. Computer system/server 12 may further include otherremovable/non-removable, volatile/non-volatile computer system storagemedia. By way of example only, storage system 34 can be provided forreading from and writing to a non-removable, non-volatile magnetic media(not shown and typically called a “hard drive”). Although not shown, amagnetic disk drive for reading from and writing to a removable,non-volatile magnetic disk (e.g., a “floppy disk”), and an optical diskdrive for reading from or writing to a removable, non-volatile opticaldisk such as a CD-ROM, DVD-ROM or other optical media can be provided.In such instances, each can be connected to bus 18 by one or more datamedia interfaces. As will be further depicted and described below,memory 28 may include at least one program product having a set (e.g.,at least one) of program modules that are configured to carry out thefunctions of embodiments of the disclosure.

Program/utility 40, having a set (at least one) of program modules 42,may be stored in memory 28 by way of example, and not limitation, aswell as an operating system, one or more application programs, otherprogram modules, and program data. Each of the operating system, one ormore application programs, other program modules, and program data orsome combination thereof, may include an implementation of a networkingenvironment. Program modules 42 generally carry out the functions and/ormethodologies of embodiments of the disclosure as described herein.

Computer system/server 12 may also communicate with one or more externaldevices 14 such as a keyboard, a pointing device, a display 24, etc.;one or more devices that enable a user to interact with computersystem/server 12; and/or any devices (e.g., network card, modem, etc.)that enable computer system/server 12 to communicate with one or moreother computing devices. Such communication can occur via Input/Output(I/O) interfaces 22. Still yet, computer system/server 12 cancommunicate with one or more networks such as a local area network(LAN), a general wide area network (WAN), and/or a public network (e.g.,the Internet) via network adapter 20. As depicted, network adapter 20communicates with the other components of computer system/server 12 viabus 18. It should be understood that although not shown, other hardwareand/or software components could be used in conjunction with computersystem/server 12. Examples, include, but are not limited to: microcode,device drivers, redundant processing units, external disk drive arrays,RAID systems, tape drives, and data archival storage systems, etc.

Referring now to FIG. 1B, illustrative cloud computing environment 50 isdepicted. As shown, cloud computing environment 50 comprises one or morecloud computing nodes 10 with which local computing devices used bycloud consumers, such as, for example, personal digital assistant (PDA)or cellular telephone 54A, desktop computer 54B, laptop computer 54C,and/or automobile computer system 54N may communicate. Nodes 10 maycommunicate with one another. They may be grouped (not shown) physicallyor virtually, in one or more networks, such as Private, Community,Public, or Hybrid clouds as described hereinabove, or a combinationthereof. This allows cloud computing environment 50 to offerinfrastructure, platforms and/or software as services for which a cloudconsumer does not need to maintain resources on a local computingdevice. It is understood that the types of computing devices 54A-N shownin FIG. 1B are intended to be illustrative only and that computing nodes10 and cloud computing environment 50 can communicate with any type ofcomputerized device over any type of network and/or network addressableconnection (e.g., using a web browser).

Referring now to FIG. 1C, a set of functional abstraction layersprovided by cloud computing environment 50 (FIG. 1B) is shown. It shouldbe understood in advance that the components, layers, and functionsshown in FIG. 1C are intended to be illustrative only and embodiments ofthe disclosure are not limited thereto. As depicted, the followinglayers and corresponding functions are provided:

Hardware and software layer 60 includes hardware and softwarecomponents. Examples of hardware components include mainframes, in oneexample IBM® zSeries® systems; RISC (Reduced Instruction Set Computer)architecture based servers, in one example IBM pSeries® systems; IBMxSeries® systems; IBM BladeCenter® systems; storage devices; networksand networking components. Examples of software components includenetwork application server software, in one example IBM Web Sphere®application server software; and database software, in one example IBMDB2® database software. (IBM, zSeries, pSeries, xSeries, BladeCenter,WebSphere, and DB2 are trademarks of International Business MachinesCorporation registered in many jurisdictions worldwide).

Virtualization layer 62 provides an abstraction layer from which thefollowing examples of virtual entities may be provided: virtual servers;virtual storage; virtual networks, including virtual private networks;virtual applications and operating systems; and virtual clients.

In one example, management layer 64 may provide the functions describedbelow. Resource provisioning provides dynamic procurement of computingresources and other resources that are utilized to perform tasks withinthe cloud computing environment. Metering and Pricing provide costtracking as resources are utilized within the cloud computingenvironment, and billing or invoicing for consumption of theseresources. In one example, these resources may comprise applicationsoftware licenses. Security provides identity verification for cloudconsumers and tasks, as well as protection for data and other resources.User portal provides access to the cloud computing environment forconsumers and system administrators. Service level management providescloud computing resource allocation and management such that requiredservice levels are met. Service Level Agreement (SLA) planning andfulfillment provide pre-arrangement for, and procurement of, cloudcomputing resources for which a future requirement is anticipated inaccordance with an SLA.

Workloads layer 66 provides examples of functionality for which thecloud computing environment may be utilized. Examples of workloads andfunctions which may be provided from this layer include: mapping andnavigation; software development and lifecycle management; virtualclassroom education delivery; data analytics processing; transactionprocessing; and managing a database. Aspects of managing the databasemay include managing a table of the database or managing an index of thetable of the database. For example, in a cloud environment/system, afirst virtual machine may be saved into an image. From the image, nvirtual machines can be created. At least a plurality (e.g., each one)of the n virtual machines will need some amount of configuration to makethem unique virtual machines in the cloud environment/system. In anembodiment, a dynamic data function (DDF) may be stored in the databaseof an image which defines the machines name or IP address. Aftercreating the n virtual machines, when the field is read on a selectedvirtual machine, the DDF may return the current system name or currentInternet Protocol (IP) address of the selected virtual machine. Thus,each of the n virtual machines can retrieve their current system name orIP address from the database via such logic (and further configurationmay be unnecessary). Aspects of managing the database may have positiveimpacts on performance or efficiency of the DBMS.

FIG. 2A illustrates an example representation of a computer system 100connected to one or more client computers 160 via a network 155,according to some embodiments. For the purposes of this disclosure,computer system 100 may represent practically any type of computer,computer system, or other programmable electronic device, including butnot limited to, a client computer, a server computer, a portablecomputer, a handheld computer, an embedded controller, etc. In someembodiments, computer system 100 may be implemented using one or morenetworked computers, e.g., in a cluster or other distributed computingsystem.

The computer system 100 may include, without limitation, one or moreprocessors (CPUs) 105, a network interface 115, an interconnect 120, amemory 125, and a storage 130. The computer system 100 may also includean I/O device interface 110 used to connect I/O devices 112, e.g.,keyboard, display, and mouse devices, to the computer system 100.

Each processor 105 may retrieve and execute programming instructionsstored in the memory 125 or storage 130. Similarly, the processor 105may store and retrieve application data residing in the memory 125. Theinterconnect 120 may transmit programming instructions and applicationdata between each processor 105, I/O device interface 110, networkinterface 115, memory 125, and storage 130. The interconnect 120 may beone or more busses. The processor 105 may be a single central processingunit (CPU), multiple CPUs, or a single CPU having multiple processingcores in various embodiments. In one embodiment, a processor 105 may bea digital signal processor (DSP).

The memory 125 may be representative of a random access memory, e.g.,Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM),read-only memory, or flash memory. The storage 130 may be representativeof a non-volatile memory, such as a hard disk drive, solid state device(SSD), or removable memory cards, optical storage, flash memory devices,network attached storage (NAS), or connections to storage area network(SAN) devices, or other devices that may store non-volatile data. Thenetwork interface 115 may be configured to transmit data via thecommunications network 155.

The memory 125 may include a database management system (DBMS) 135, aresult set 140, a query 145, and applications 150. Although theseelements are illustrated as residing in the memory 125, any of theelements, or combinations thereof, may reside in the storage 130 orpartially in the memory 125 and partially in the storage 130. Each ofthese elements will be described in greater detail in accordance withFIGS. 2A and 2B.

The network 155 may be any suitable network or combination of networksand may support any appropriate protocol suitable for communication ofdata and/or code to/from the server computer system 100 and the clientcomputer system 160. In some embodiments, the network 155 may supportwireless communications. In other embodiments, the network 155 maysupport hardwired communications. The network 155 may be the Internetand may support Internet Protocol in some embodiments. In otherembodiments, the network 155 may be implemented as a local area network(LAN) or a wide area network (WAN). The network 155 may also beimplemented as a cellular data network. Although the network 155 isshown as a single network in the figures, one or more networks of thesame or different types may be included.

The client computer system 160 may include some or all of the hardwareand software elements of the computer system 100 previously described.As shown, there may be one or more client computers 160 connected to thecomputer system 100 via the network 155. In some embodiments, one ormore client computers 160 may send a query 145 by network 155 tocomputer system 100 and receive a result set 140.

FIG. 2B illustrates an example database management system (DBMS) 135.The DBMS 135 may include a parser 210, an optimizer 220, an executionengine 230, and a database 232. The parser 210 may receive a databasequery 145 from an application 150. In some embodiments, the databasequery 145 may be in the form of a Structured Query Language (SQL)statement. The parser 210 may generate a parsed statement 215. Theparser 210 may send the parsed statement 215 to an optimizer 220. Theoptimizer 220 may attempt to optimize the parsed statement. In someembodiments, optimizing may improve the performance of the databasequery 145 by, for example, reducing the amount of time it takes toprovide a user with a response. The optimizer 220 may generate anexecution plan 246 (access plan), which may be maintained in a queryplan cache 245, according to some embodiments. The query plan cache 245may include one or more execution plans 246, including the currentexecution plan as well as previously used execution plans. Once anexecution plan 246 is generated, the execution plan 246 may be sent tothe execution engine 230. The execution engine 230 may execute the query145. Executing the query 145 may include finding and retrieving data inthe database tables 235 that satisfies the criteria supplied in thequery 145. The execution engine 230 may store the data returned matchingthe query 145 in a result set 140. The DBMS 135 may return the resultset 140 to an application 150, such as the application in which thedatabase query 145 was generated, as a response to the database query145.

A database 232 may include one or more tables 235 and, in someembodiments, one or more indexes 240. A database table 235 may organizedata into rows and columns. Each row of a database table 235 maycorrespond to an individual entry, a tuple, or a record in the database232. A column may define what is stored in each entry, tuple, or record.In some embodiments, columns of a table 235 may also be referred to asfields or attributes. Each table 235 within the database 232 may have aunique name. Each column within a table 235 may also have a unique name.A row, tuple, or record, however, within a particular table 235 may notbe unique, according to some embodiments. A database 232 may alsoinclude one or more indexes 240. An index 240 may be a data structurethat may inform the DBMS 135 of the location of a particular recordwithin a table 235 if given a particular indexed column value. In someembodiments, the execution engine 230 may use the one or more indexes240 to locate data within a table 235. In other embodiments, theexecution engine 230 may scan the tables 235 without using an index 240.

FIG. 3 is a flowchart illustrating a method 300 of managing a databaseaccording to embodiments. Managing the database may include managing atable of the database. The table may have a set of fields. The set offields can include a first field in a first row of the table. Inembodiments, the set of fields can include a second field in a secondrow of the table. The first and second fields can be in a first columnof the table. The method 300 begins at block 301.

At block 310, a first input value may be selected in the first field.Selecting can include, for example, establishing or storing. The firstinput value can be configured to identify a first dynamic data function.The first dynamic data function may be utilized to determine a firstoutput value for the first field. In embodiments, block 310 can includeestablishing, in the first field, a first stored value that indicatesthe first dynamic data function is utilized to ascertain the firstoutput value for the first field.

In embodiments, the first input value includes a tag or marker toidentify the first dynamic data function (e.g., using “%” as part of thefirst input value such as at the beginning and end of the entry). Forexample, a date column of a table may have an example field with a DDFfor the current date where the contents of the example field are“%AND_CURRENT_DATE%”. In embodiments, a first dynamic data functiondefinition defines the first dynamic data function. In embodiments, thefirst dynamic data function definition may be stored in a datastructure. In embodiments, the first dynamic data function definitionmay be stored in a bit map. In embodiments, the first dynamic datafunction definition may be stored in a multi-dimensional array. Inembodiments, the first dynamic data function can be a special register,a function, a procedure, a structured query language (SQL) statement, aprogram call, an internet protocol (IP) address, etc.

In embodiments, a second stored value may be selected in the secondfield. The second stored value may be different from the first inputvalue. In embodiments, the second stored value is a second input valueconfigured to identify a second dynamic data function (e.g., twodistinct dynamic data functions in one column). In certain embodiments,the second stored value is configured to identify a feature other than adynamic data function (i.e., the second stored value is not configuredto identify a dynamic data function). In certain embodiments, the secondstored value is fixed data (e.g., data entered/written that can bechanged by a delete/update). In such embodiments, the first column mayinclude both a dynamic data function (e.g., the first dynamic datafunction in the first field) and fixed data (e.g., the second storedvalue which is fixed data in the second field).

Aspects of the disclosure do not require a column definition to includea particular dynamic data function (e.g., to apply the first dynamicdata function to the entire column). In embodiments, the columndefinition, for a column having the first field, includes absence of thefirst dynamic data function. Put differently, the first dynamic datafunction is not included in a column definition for the first column(which has the first field). As such, the first column in its entiretyneed not be coupled with the first dynamic data function (the firstfield, by itself, can be coupled with the first dynamic data function).Aspects of the disclosure may allow for the particular dynamic datafunction to be implemented for a specifically chosen field rather thanan entire column.

At block 320, the first output value for the first field may bedetermined. The first output value for the first field may be determinedusing the first dynamic data function. The first output value for thefirst field may be determined in response to a read request includingthe first field. In embodiments, determining can include at least one ofcomputing or calculating (e.g., using an algorithm). In embodiments, thefirst and second fields of the first column are determined differentlyin response to the read request (e.g., two distinct dynamic datafunctions, one is dynamic data function and one is fixed data). Forexample, the first output value for the first field in the first columnmay be computed using the first dynamic data function to determine achanging IP address and the second output value for the second field inthe first column may be a fixed value of 123456789.

At block 330, the first output value for the first field may be returned(for the read request). The first output value for the first field maybe returned in response to determining the first output value for thefirst field. In embodiments, returning can include publishing (e.g., ona server). In embodiments, returning can include transmitting (e.g.,from a server to a client computer). In embodiments, returning caninclude providing (e.g., to a database). In embodiments, returning caninclude displaying (e.g., on a display system such as a monitor). Forexample, the changing IP address could bereturned/published/transmitted/provided/displayed. Similarly, the secondoutput value for the second field may be returned; in the example, thefixed value of 123456789 may bereturned/published/transmitted/provided/displayed.

Method 300 may conclude at block 399. Method 300 may have positiveimpacts on performance or efficiency of the DBMS. As a firstillustrative case, when creating the table, the table could be definedin the following example definition:

CREATE TABLE QSYS/TABLE1 CLIENT_ADDRESS CHAR (300), CLIENT_TRANS  CHAR(500), CLIENT_SERVER CHAR (256);

When a field is inserted, a user could enter in a client address, aclient transaction, and a function entered in the field for CLIENTSERVER which would be the SERVER NAME function. When that field is read,the database manager could invoke the SERVER NAME function and retrievethe server address. A “%” tag could be used to mark the dynamic datafunction (DDF) operation definable by the user:

-   -   Insert into file values(‘1435 Woodhucklebury Drive New York’        ‘buying 10 shares of stock’ ‘HTTP/:“∥%Current        server%∥”‘/@acmecompanynameforwidgets.com’)    -   Insert into file values(‘1436 Woodhucklebury Drive New York’        ‘buying 100 shares of stock’        ‘HTTP:/RCHVIKES/@acmecompanynameforwidgets.com’)    -   Insert into file values(‘1437 Woodhucklebury Drive New York’        ‘buying 1000 shares of stock’ ‘HTTP/:“%Select hostname from        file1%∥”‘/@acmecompanynameforwidgets.com’)

When the rows are read:

-   -   Rcd 1: 1435 Woodhucklebury Drive New York’ ‘buying 10 shares of        stock’ ‘HTTP/:System1/@acmecompanynameforwidgets.com’ (Note:        current server returned)    -   Rcd 2: 1436 Woodhucklebury Drive New York’ ‘buying 100 shares of        stock’ ‘HTTP/:RCHVIKES/@acmecompanynameforwidgets.com’    -   Rcd 3: 1437 Woodhucklebury Drive New York’ ‘buying 1000 shares        of stock’        ‘HTTP/:SERVER_FILESYSTEM@acmecompanynameforwidgets.com’ (Note:        server name from file1)        Aspects of the disclosure, as shown in the first illustrative        case, allow a DDF to be defined for a field in the table. The        DDF may be invoked to retrieve the data related to the user and        not the data stored with the field. The data can be tagged        dynamic data of the DDF.

In a second illustrative case, similar to the first illustrative case,the table QSYS/TABLE1 can be copied to a different system. The valuesfor the server may not be constant values, but the real server values;for example, the file in System1 and System2 as in the steps that followwhich 1) Create the table on System1, 2) Insert rows on System1, and 3)Save the table from System and restore on System2:

CREATE TABLE QSYS/TABLE1 CLIENT_ADDRESS CHAR (300) , CLIENT_TRANS  CHAR(500), CLIENT_SERVER CHAR (256);

-   -   Insert into file values(‘1435 Woodhucklebury Drive New York’        ‘buying 10 shares of stock’ ‘HTTP/:“∥%Current        server%∥”‘@acmecompanynameforwidgets.com’)    -   Insert into file values(‘1436 Woodhucklebury Drive New York’        ‘buying 100 shares of stock’        ‘HTTP:/RCHVIKES/@acmecompanynameforwidgets.com’)    -   Insert into file values(‘1437 Woodhucklebury Drive New York’        ‘buying 1000 shares of stock’ ‘HTTP/:“%Select hostname from        file2)%∥”‘/@acmecompanynameforwidgets.com’)    -   System1

TABLE 1 Rcd 1: 1435 Woodhucklebury Drive New York' ‘buying 10 shares ofstock’ ‘HTTP/:SYSTEM1/@acmecompanynameforwidgets.com’ Rcd 2: 1436Woodhucklebury Drive New York' ‘buying 100 shares of stock’‘HTTP/:RCHVIKES/@acmecompanynameforwidgets.com' Rcd 3: 1437Woodhucklebury Drive New York' ‘buying 1000 shares of stock’‘HTTP/:SERVER_FILESYSTEM@acmecompanynameforwidgets.com’

-   -   SAVOBJ TABLE1 from System1    -   RSTOBJ TABLE1 to System2    -   System2

TABLE 1 Rcd 1: 1435 Woodhucklebury Drive New York' ‘buying 10 shares ofstock’ ‘HTTP/:SYSTEM2/@acmecompanynameforwidgets.com’ Rcd 2: 1436Woodhucklebury Drive New York' ‘buying 100 shares of stock’‘HTTP/:RCHVIKES/@acmecompanynameforwidgets.com’ Rcd 3: 1437Woodhucklebury Drive New York' ‘buying 1000 shares of stock’‘HTTP/:SERVER_FILESYSTEM@acmecompanynameforwidgets.com’

A special/placeholder/indicator value may be stored in the field in thedata space to indicate that a DDF is used to determine the value of thefield. Since each field of every row across every column could contain aDDF, a bit map or a multi-dimensional array may be utilized to store theDDF definition(s) used for fields. In embodiments, it may be a few DDFsacross the table. In other embodiments, every field may have a DDF. Inembodiments, the returned value of the DDF is compatible with the datatype for the field. In embodiments, the tag (e.g., “% %”) can beutilized to mark the DDF to be used. In embodiments, the tag may bedefinable/configurable by the user.

In embodiments, aspects of the disclosure may not invoke afunction/procedure/etc. for every column of every row every time thefield/row is used (e.g., unlike a trigger or column mask). In suchembodiments, invocation may occur in response to a special taggeddynamic data value being in/inserted-into a field indicating thefunction or procedure may/should get the real value for tagged dynamicdata for the column. For example, if a READ trigger is in place on arow, each time a row is read, the trigger function must be invoked.According to embodiments of the disclosure, each time a row is read,only if a special tagged dynamic data value is in the field (of thecolumn) will the DDF need to be invoked to retrieve the real value forthe column. Accordingly, a tagged dynamic data operation can be definedfor any or all rows of any or all columns of a file (e.g., any or allfields), which can provide flexibility with respect to the datareturned. In embodiments, the DDF enabled field can be a special type offield, versus pure CHAR; for example:

CREATE TABLE QSYS/TABLE 1 CLIENT_ADDRESS CHAR_DDF (300), CLIENT_TRANS CHAR_DDF (500), CLIENT_SERVER CHAR_dDF (256);

FIG. 4 and FIG. 5 are flowcharts illustrating methods of managing adatabase according to embodiments. The methods 400 and 500 may bemethods for indexing. The methods for indexing may include determinationas to whether a dynamic data function is deterministic ornondeterministic. Such determination may have positive impacts onperformance or efficiency for indexing (e.g., in an embodiment having avalue to return and not needing to calculate a return value for a DDF).

Deterministic functions/algorithms can include functions/algorithmswhich, given a particular input, will always produce the same output,with the underlying machine always passing through the same sequence ofstates. Nondeterministic functions/algorithms can exhibit differentbehaviors on different runs (as opposed to a deterministic algorithm).In embodiments, a particular field having the dynamic data function mayindicate whether the dynamic data function is deterministic ornondeterministic (e.g., a checkbox system). In embodiments, partiallydeterministic may be an option. In embodiments, partially deterministicmay be a subset of deterministic or nondeterministic based on apredetermined choice, a user preference, or an algorithmic analysis.

FIG. 4 is a flowchart illustrating a method 400 of managing a databaseaccording to embodiments. The method 400, which may be a method forindexing, begins at block 401. Managing the database may includemanaging an index of a table (e.g., the table may be as in FIG. 3/method300) of the database.

At block 410, it may be determined that the table includes a first fieldof a set of fields (the first field may be in a first row and a firstcolumn). The first field may have a first input value. The first inputvalue can be configured to identify a first dynamic data function. Thefirst dynamic data function can be utilized to determine a first outputvalue for the first field. In embodiments, the first dynamic datafunction can include a specific system function (e.g., server IPaddress). In embodiments, a specific index may be created over a columnfor the specific system function (e.g., index of IP addresses).

At block 420, it may be determined that the first dynamic data functionis deterministic. Deterministic functions/algorithms can includefunctions/algorithms which, given a particular input, will alwaysproduce the same output, with the underlying machine always passingthrough the same sequence of states. The first dynamic data function maybe determined to be deterministic in response to a request to create theindex including the first field. In embodiments, determining the firstdynamic data function is deterministic can include analyzing (e.g.,parsing) a first dynamic data function definition that defines the firstdynamic data function. For example, two structures may be utilized. Afirst structure may determine (e.g., yes/no) whether any field in agiven row has tagged data. A second structure may define what the tagsare. A bit map or a multi-dimensional array may be used. In embodiments,the first dynamic data function definition may be stored in the bit map.In embodiments, the first dynamic data function definition may be storedin the multi-dimensional array. Other implementations, including othercombinations, are contemplated.

In embodiments, determining the first dynamic data function isdeterministic may include determining the first dynamic data function isa query. As such, determining the first dynamic data function isdeterministic may include determining a result of the query to beunchanged based on a data-change temporal-identifier. For example, theresult of the query may have a first computed result that includes 1444records and has a 02292012_00123105 identifier (e.g., representing Feb.29, 2012 at 12:31:05 pm) when the query is run on Apr. 15, 2012 (tax day2012). In addition, the result of the query may have a second computedresult that includes 1444 records and has a 02292012_00123105 identifier(e.g., representing Feb. 29, 2012 at 12:31:05 pm) when the query is runon Apr. 15, 2013 (tax day 2013). The fact that the two results bothcontain 1444 records may be persuasive that the results are the same(e.g., the data needed/computed for the query has not changed such as nomore sales of a particular product have been made) but the fact that theidentifier is 02292012_00123105 may prove conclusively that the resultsare the same. Thus, the data-change temporal-identifier may be useful todetermine the result of the query may be unchanged. As another example,the data-change temporal-identifier may be a timestamp of the lastchange (insert/update/delete) of a table. Thus, if a table has notchanged since the output value (for the dynamic data function) wasdetermined, any queries over it will return the same value. Thereforethe dynamic data function can keep using the cached output value untilthe timestamp on the table changes.

In embodiments, determining the first dynamic data function isdeterministic may include determining the first dynamic data function isa specific system function. As such, determining the first dynamic datafunction is deterministic may include determining a computed value ofthe specific system function to be unchanged based on a varied-parameterfor the specific system function. For example, consider a case where thespecific system function uses the law of exponents where a number to azero power equals one (i.e., n⁰=1). In the case where this is the firstdynamic data function, the first dynamic data function may be considereddeterministic because the computed value of the specific system function(i.e., the computed value is 1) is unchanged based on thevaried-parameter (i.e., n) for the specific system function (n⁰). Asanother example, a determined/computed value for a set of digits of anIP address for a data center used for cloud computing may be consistentregardless of a varied-parameter such as a building number for a set ofservers at a given data warehouse.

At block 430, the first output value for the first field may bedetermined. The first output value for the first field may be determinedusing the first dynamic data function. The first output value for thefirst field may be determined in response to the first dynamic datafunction being deterministic.

At block 440, the first output value for the first field may be stored(in the index). The first output value for the first field may be storedin response to determining the first output value for the first field.In embodiments, a sparse index may be created using the first outputvalue for the first field. In embodiments, the index may be created on afirst system. A request to create the index on a second system mayoccur, be instantiated, or be received. The index on the first systemmay be invalidated, archived, or deleted (in response to the request tocreate the index on the second system). Using the first dynamic datafunction, the index may be created on the second system. For example,the first output value for the first field may be stored (in the index)on the first system and subsequently the first output value for thefirst field may be stored (in the index) on the second system (and theindex on the first system may be invalidated contemporaneously). Method400 may conclude at block 499. Method 400 may have positive impacts onperformance or efficiency of the DBMS.

FIG. 5 is a flowchart illustrating a method 500 of managing a databaseaccording to embodiments. The method 500, which may be a method forindexing, begins at block 501. Managing the database may includemanaging an index of a table (e.g., the table may be as in FIG. 3/method300) of the database.

At block 510, it may be determined that the table includes a first fieldof a set of fields (the first field may be in a first row and a firstcolumn). The first field may have a first input value. The first inputvalue can be configured to identify a first dynamic data function. Thefirst dynamic data function can be utilized to determine a first outputvalue for the first field. In embodiments, the first dynamic datafunction can include a specific system function (e.g., server IPaddress). In embodiments, a specific index may be created over a columnfor the specific system function (e.g., index of IP addresses).

At block 520, it may be determined that the first dynamic data functionis nondeterministic. Nondeterministic functions/algorithms can exhibitdifferent behaviors on different runs (as opposed to a deterministicalgorithm). For example, race conditions, random number generators, orpolynomial/exponential times can be associated with nondeterministicfunctions/algorithms. The first dynamic data function may be determinedto be nondeterministic in response to a request to create the indexincluding the first field.

In embodiments, determining the first dynamic data function isnondeterministic can include analyzing (e.g., parsing) a first dynamicdata function definition that defines the first dynamic data function.For example, two structures may be utilized. A first structure maydetermine (e.g., yes/no) whether any field in a given row has taggeddata. A second structure may define what the tags are. A bit map or amulti-dimensional array may be used. In embodiments, the first dynamicdata function definition may be stored in the bit map. In embodiments,the first dynamic data function definition may be stored in themulti-dimensional array. Other implementations, including othercombinations, are contemplated.

In embodiments, determining the first dynamic data function isnondeterministic may include determining the first dynamic data functionis a query. As such, determining the first dynamic data function isnondeterministic may include determining a result of the query to bechanged based on a data-change temporal-identifier. For example, theresult of the query may have a first computed result that includes 1444records and has a 02292012_00123105 identifier (e.g., representing Feb.29, 2012 at 12:31:05 pm) when the query is run on Apr. 15, 2012 (tax day2012). In addition, the result of the query may have a second computedresult that includes 1444 records and has a 03312013_00145645 identifier(e.g., representing Mar. 31, 2013 at 2:56:45 pm) when the query is runon Apr. 15, 2013 (tax day 2013). The fact that the two results bothcontain 1444 records may be persuasive that the results are the same(e.g., the data needed/computed for the query has not changed such as nomore sales of a particular product have been made) but the fact that theidentifier is 03312013_00145645 may indicate that the results may bedifferent. Thus, the data-change temporal-identifier may be useful todetermine the result of the query may be changed.

In embodiments, determining the first dynamic data function isnondeterministic may include determining the first dynamic data functionis a specific system function. As such, determining the first dynamicdata function is nondeterministic may include determining a computedvalue of the specific system function to be changed based on avaried-parameter for the specific system function. For example, considera case where the specific system function uses the exponentiation wheretwo to the power of a number produces a result (i.e., 2^(n)=x). In thecase where this is the first dynamic data function, the first dynamicdata function may be considered nondeterministic because the computedvalue of the specific system function (i.e., the computed value is x)may change based on the varied-parameter (i.e., n) for the specificsystem function (2^(n)). As another example, a determined/computed valuefor a set of digits of an IP address for a data center used for cloudcomputing may change based on a varied-parameter such as a datawarehouse used for application processing given requests received bydiffering geolocations having identified load requirements (e.g.,requests by one user in one location with one load requirement may beprocessed at different data centers under differing circumstancesaffecting the overall cloud computing environment such as other requestsby other users).

At block 530, a first special value may be determined. The first specialvalue can represent the first output value for the first field (e.g., inembodiments when a nondeterministic dynamic data function is present theremainder of the index may be populated as usual). The first specialvalue may be determined in response to the first dynamic data functionbeing nondeterministic. The special value may indicate that a DDF isused to determine the value of the field. For example, the special valuemay be “Δ” in embodiments.

At block 540, the first special value (e.g., “Δ”) for the first fieldmay be stored (in the index). Such storing may occur in response todetermining the first special value for the first field. In embodiments,the index may be created on a first system. A request to create theindex on a second system may occur, be instantiated, or be received. Theindex on the first system may be invalidated, archived, or deleted (inresponse to the request to create the index on the second system). Usingthe first dynamic data function, the index may be created on the secondsystem. For example, the first special value for the first field may bestored (in the index) on the first system and subsequently the firstspecial value for the first field may be stored (in the index) on thesecond system. Method 500 may conclude at block 599. Method 500 may havepositive impacts on performance or efficiency of the DBMS.

In the foregoing, reference is made to various embodiments. It should beunderstood, however, that this disclosure is not limited to thespecifically described embodiments. Instead, any combination of thedescribed features and elements, whether related to differentembodiments or not, is contemplated to implement and practice thisdisclosure. Many modifications and variations may be apparent to thoseof ordinary skill in the art without departing from the scope and spiritof the described embodiments. Furthermore, although embodiments of thisdisclosure may achieve advantages over other possible solutions or overthe prior art, whether or not a particular advantage is achieved by agiven embodiment is not limiting of this disclosure. Thus, the describedaspects, features, embodiments, and advantages are merely illustrativeand are not considered elements or limitations of the appended claimsexcept where explicitly recited in a claim(s).

As will be appreciated by one skilled in the art, aspects of the presentdisclosure may be embodied as a system, method, or computer programproduct. Accordingly, aspects of the present disclosure may take theform of an entirely hardware embodiment, an entirely software embodiment(including firmware, resident software, micro-code, etc.), or anembodiment combining software and hardware aspects that may allgenerally be referred to herein as a “circuit,” “module,” or “system.”Furthermore, aspects of the present disclosure may take the form of acomputer program product embodied in one or more computer readablemedium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination thereof. More specificexamples (a non-exhaustive list) of the computer readable storage mediumwould include the following: an electrical connection having one or morewires, a portable computer diskette, a hard disk, a random access memory(RAM), a read-only memory (ROM), an erasable programmable read-onlymemory (EPROM or Flash memory), an optical fiber, a portable compactdisc read-only memory (CD-ROM), an optical storage device, a magneticstorage device, or any suitable combination thereof. In the context ofthis disclosure, a computer readable storage medium may be any tangiblemedium that can contain, or store, a program for use by or in connectionwith an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wire line, optical fiber cable, RF, etc., or any suitable combinationthereof.

Computer program code for carrying out operations for aspects of thepresent disclosure may be written in any combination of one or moreprogramming languages, including: an object oriented programminglanguage such as Java, Smalltalk, C++, or the like; and conventionalprocedural programming languages, such as the “C” programming languageor similar programming languages. The program code may execute asspecifically described herein. In addition, the program code may executeentirely on the user's computer, partly on the user's computer, as astand-alone software package, partly on the user's computer and partlyon a remote computer, or entirely on the remote computer or server. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider).

Aspects of the present disclosure have been described with reference toflowchart illustrations, block diagrams, or both, of methods,apparatuses (systems), and computer program products according toembodiments of this disclosure. It will be understood that each block ofthe flowchart illustrations or block diagrams, and combinations ofblocks in the flowchart illustrations or block diagrams, can beimplemented by computer program instructions. These computer programinstructions may be provided to a processor of a general purposecomputer, special purpose computer, or other programmable dataprocessing apparatus to produce a machine, such that the instructions,which execute via the processor of the computer or other programmabledata processing apparatus, create means for implementing the functionsor acts specified in the flowchart or block diagram block or blocks.

These computer program instructions may also be stored in a computerreadable medium that can direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function or act specified in the flowchart or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus, or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus provide processes forimplementing the functions or acts specified in the flowchart or blockdiagram block or blocks.

Embodiments according to this disclosure may be provided to end-usersthrough a cloud-computing infrastructure. Cloud computing generallyrefers to the provision of scalable computing resources as a serviceover a network. More formally, cloud computing may be defined as acomputing capability that provides an abstraction between the computingresource and its underlying technical architecture (e.g., servers,storage, networks), enabling convenient, on-demand network access to ashared pool of configurable computing resources that can be rapidlyprovisioned and released with minimal management effort or serviceprovider interaction. Thus, cloud computing allows a user to accessvirtual computing resources (e.g., storage, data, applications, and evencomplete virtualized computing systems) in “the cloud,” without regardfor the underlying physical systems (or locations of those systems) usedto provide the computing resources.

Typically, cloud-computing resources are provided to a user on apay-per-use basis, where users are charged only for the computingresources actually used (e.g., an amount of storage space used by a useror a number of virtualized systems instantiated by the user). A user canaccess any of the resources that reside in the cloud at any time, andfrom anywhere across the Internet. In context of the present disclosure,a user may access applications or related data available in the cloud.For example, the nodes used to create a stream computing application maybe virtual machines hosted by a cloud service provider. Doing so allowsa user to access this information from any computing system attached toa network connected to the cloud (e.g., the Internet).

The flowchart and block diagrams in the figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present disclosure. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some alternative implementations, the functions noted in theblock may occur out of the order noted in the figures. For example, twoblocks shown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams or flowchart illustration, andcombinations of blocks in the block diagrams or flowchart illustration,can be implemented by special purpose hardware-based systems thatperform the specified functions or acts, or combinations of specialpurpose hardware and computer instructions.

While the foregoing is directed to exemplary embodiments, other andfurther embodiments of the invention may be devised without departingfrom the basic scope thereof, and the scope thereof is determined by theclaims that follow.

What is claimed is:
 1. A computer-implemented method of managing a tableof a database having a set of fields including a first field in a firstrow of the table, the method comprising: selecting, in the first field,a first input value configured to identify a first dynamic data functionutilized to determine a first output value for the first field;determining, in response to a read request including the first field,the first output value for the first field using the first dynamic datafunction; and returning for the read request, in response to determiningthe first output value for the first field, the first output value forthe first field.
 2. The method of claim 1, wherein the set of fieldsincludes a second field in a second row of the table, the first andsecond fields in a first column of the table, the method furthercomprising: selecting, in the second field, a second stored value thatis something other than the first input value.
 3. The method of claim 2,wherein the second stored value is configured to identify a featureother than a dynamic data function.
 4. The method of claim 2, whereinthe second stored value is fixed data.
 5. The method of claim 2, whereinthe second stored value is a second input value configured to identify asecond dynamic data function.
 6. The method of claim 1, wherein a columndefinition, for a column having the first field, includes absence of thefirst dynamic data function.
 7. The method of claim 2, wherein the firstand second fields of the first column are determined differently inresponse to the read request.
 8. The method of claim 1, wherein a firstdynamic data function definition, stored in a bit map, defines the firstdynamic data function.
 9. The method of claim 1, wherein a first dynamicdata function definition, stored in a multi-dimensional array, definesthe first dynamic data function.
 10. The method of claim 1, wherein thefirst dynamic data function is defined as one of a group selected from aspecial register, a function, a procedure, a structured query language(SQL) statement, a program call, or an internet protocol (IP) address.11. The method of claim 1, wherein the determining the first outputvalue for the first field is in response to determining that the firstrow includes a read trigger.
 12. The method of claim 1, wherein thefirst field corresponds to the first row and a first column of thedatabase table.
 13. The method of claim 1, wherein a first dynamic datafunction definition defines the first dynamic data function.
 14. Themethod of claim 1, wherein the first input value includes a tag thatidentifies the first dynamic data function.
 15. The method of claim 14,wherein the first dynamic data function is configured to perform afunction selected from the group consisting of determining a currentdate, determining an IP address, and retrieving a server address for aserver that stores the database table.
 16. The method of claim 14,wherein the tag is configurable by a user.
 17. The method of claim 1,wherein the returning the first output value for the first fieldcomprises transmitting the first output value from a server to a clientcomputer.
 18. The method of claim 1, wherein the first field has a firstdata type, the first data type indicating that the first field includesa dynamic data function.
 19. The method of claim 1, wherein the firstdynamic data function is a function that retrieves dynamic data when thefirst field is read.